<script lang="ts" setup>
import { onUpdated } from 'vue';

const props = defineProps({
  text: {
    type: String,
    required: true,
  },
  hehe: {
    type: String
  }
})

const emit = defineEmits(['click'])
</script>

<template>
  <button @click="emit('click')">
    {{ props.text }}
    {{ props.hehe }}
  </button>
  
</template>